/**
 * 
 */
package org.vidyakiran.app.server.domain.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;

/**
 * @author Harpreet
 *
 */
@Entity
public class OrganisationAddress extends Address implements Serializable {

	private static final long serialVersionUID = -4717705601576146300L;

	@ManyToOne(fetch = FetchType.LAZY)
	private Organisation organisation;

	/**
	 * @return the organisation
	 */
	public Organisation getOrganisation() {
		return organisation;
	}

	/**
	 * @param organisation the organisation to set
	 */
	public void setOrganisation(Organisation organisation) {
		this.organisation = organisation;
	}
	
}
